package com.ibeetl.cms.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.ibeetl.cms.entity.*;

/**
 * Entry Dao
 */
@SqlResource("cms.entry")
public interface EntryDao extends BaseMapper<Entry>{
    public PageQuery<Entry> queryByCondition(PageQuery query);
    public void batchDelEntryByIds( List<Long> ids);
    public PageQuery<Entry> findenterprise(PageQuery query);
    PageQuery<Entry>  queryDoneTask(PageQuery page);
    int updateCompanyId(Integer companyId,Integer userId);
    int updateEssentialInformation(Integer companyId,String currentWorkingEnterprise,Integer userId);
}